package me.zhengjie.modules.insurance.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 用户案件编辑请求
 *
 * @author HeHui
 * @date 2022-01-14 23:28
 */
@Data
@ApiModel("用户案件编辑请求")
public class InsuredUserUpdateRequest implements Serializable {

    private static final long serialVersionUID = -4161498477872063019L;

    @NotNull(message = "缺少ID")
    private Long id;


    @ApiModelProperty(value = "出险类型")
    private List<Integer> accidentTypeIds;

    @ApiModelProperty(value = "事故区域code")
    private List<String> accidentRegionCode;

    @ApiModelProperty(value = "事故地址")
    private String accidentAddress;

    @ApiModelProperty(value = "事故说明")
    private String accidentDesc;

    /**
     * 新文件列表
     */
    @ApiModelProperty("新文件")
    private List<String> newFileList;
}
